package com.cq.hd.order.api.vo;

import com.cq.hd.common.serialize.Decimal2Serializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class MerchantVerifyRecordPageVo implements Serializable {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "子订单号")
    private String subOrderNo;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品图片")
    private String goodsImgs;

    @ApiModelProperty(value = "商户商品价格")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal goodsPrice;

    @ApiModelProperty(value = "累计核销数量:写死1")
    private Integer totalVerifyNum = 1;

    @ApiModelProperty(value = "子订单状态(1-待核销，2-已核销，3-已取消，4-已过期)")
    private Integer subOrderState;

    @ApiModelProperty(value = "订单核销时间")
    private LocalDateTime verifyTime;

    @ApiModelProperty(value = "核销方式（只对报名活动有效）：0-系统，1-票付通")
    private Integer verifyType;

    @ApiModelProperty(value = "票付通产品ID")
    private String pftProduct;

    @ApiModelProperty(value = "票付通门票ID")
    private String pftTicket;

    @ApiModelProperty(value = "票付通供应商ID")
    private String pftSupplier;

    @ApiModelProperty(value = "票付通订单号")
    private String pftOrder;

    @ApiModelProperty(value = "是否是零元购活动（1-不是，2-是）")
    private Integer zeroState;

}
